package com.handpay.zztong.hp.login.model.verifyversion;

import android.os.Parcel;

import com.handpay.zztong.hp.bean.ResponseBean;

/**
 * Created by lyang on 2017/2/20.
 */

public class VerifyVersionBean extends ResponseBean {
    private String dgTrade;
    private String forcedUpdate;
    private String packages;
    private String platform;
    private String terminalUserID;
    private String version;
    private String versionType;
    private String url;
    private String description;
    private String pollTime;


    public String getDgTrade() {
        return dgTrade;
    }

    public void setDgTrade(String dgTrade) {
        this.dgTrade = dgTrade;
    }

    public String getForcedUpdate() {
        return forcedUpdate;
    }

    public void setForcedUpdate(String forcedUpdate) {
        this.forcedUpdate = forcedUpdate;
    }

    public String getPackages() {
        return packages;
    }

    public void setPackages(String packages) {
        this.packages = packages;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }



    public String getTerminalUserID() {
        return terminalUserID;
    }

    public void setTerminalUserID(String terminalUserID) {
        this.terminalUserID = terminalUserID;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getVersionType() {
        return versionType;
    }

    public void setVersionType(String versionType) {
        this.versionType = versionType;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public static Creator<VerifyVersionBean> getCREATOR() {
        return CREATOR;
    }

    public String getPollTime() {
        return pollTime;
    }

    public void setPollTime(String pollTime) {
        this.pollTime = pollTime;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        super.writeToParcel(dest, flags);
        dest.writeString(this.dgTrade);
        dest.writeString(this.forcedUpdate);
        dest.writeString(this.packages);
        dest.writeString(this.platform);
        dest.writeString(this.terminalUserID);
        dest.writeString(this.version);
        dest.writeString(this.versionType);
        dest.writeString(this.url);
        dest.writeString(this.description);
        dest.writeString(this.pollTime);
    }

    public VerifyVersionBean() {
    }

    protected VerifyVersionBean(Parcel in) {
        super(in);
        this.dgTrade = in.readString();
        this.forcedUpdate = in.readString();
        this.packages = in.readString();
        this.platform = in.readString();
        this.terminalUserID = in.readString();
        this.version = in.readString();
        this.versionType = in.readString();
        this.url = in.readString();
        this.description = in.readString();
        this.pollTime = in.readString();
    }

    public static final Creator<VerifyVersionBean> CREATOR = new Creator<VerifyVersionBean>() {
        @Override
        public VerifyVersionBean createFromParcel(Parcel source) {
            return new VerifyVersionBean(source);
        }

        @Override
        public VerifyVersionBean[] newArray(int size) {
            return new VerifyVersionBean[size];
        }
    };
}